<html>
<head>

<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /meta>
<meta name="apple-mobile-web-app-capable" content="yes" /meta>
<meta names="apple-mobile-web-app-status-bar-style" content="black-translucent" /meta>
<title>iFlashBang</title>
<link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
<link rel="stylesheet" href="css/main.css" type="text/css" media="screen" title="no title" charset="utf-8"/>

<script type="text/javascript" charset="utf-8">

	var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
	var daysRemaining;
	var hoursRemaining;
	var minsRemaining;
	var secondsRemaining;
	

	function countdown() {

		var today = new Date();
		var day = today.getDay();
		daysRemaining = 7 - day;
		if (day == 0) {	daysRemaining = 0; }

		var h = today.getHours();
		var m = today.getMinutes();
		var s = today.getSeconds();

		hoursRemaining = 16 - h;
		if (hoursRemaining <= 0) { hoursRemaining = 24 + hoursRemaining; }

		minsRemaining = 30 - m;
		if (minsRemaining < 0) { minsRemaining = 60 + minsRemaining; }
		minsRemaining = minsRemaining - 1;

		secondsRemaining = 60 - s;

		var countdownString = 
			"Time Until Next Show: " + daysRemaining + "d " + hoursRemaining + "h " + minsRemaining + "m " + secondsRemaining + "s";
		document.getElementById('countdown_div').innerHTML = countdownString;

		t=setTimeout('countdown()',500);
	}

</script>

</head>
<body onload="countdown()">

<div id="countdown_div" class="toolbar_div">
</div>

<div id="seal_pic_div">
<img id="seal_pic" src="images/seal_pic.png"/>
</div>

<div id="link_wrapper">

<div id="click_to_listen_div" class="link_div">
<a href="http://kzsulive.stanford.edu/audio/kzsu-1-128.m3u">Click to Listen to FlashBang!</a>
</div>

<div id="click_for_facebook_div" class="link_div">
<a href="http://www.facebook.com/group.php?gid=152675876575">Go to Our Wicked Facebook Page</a>
</div>

</div>

<div class="toolbar_div">
Call in because we LOVE YOU: 650-723-9010
</div>

</body>
</html>